package jp.sourceforge.akjrcp.tools;


import jp.sourceforge.akjrcp.akj_betas.Akj_betasPlugin;
import jp.sourceforge.akjrcp.audiotools.WavToMidiViewer;
import jp.sourceforge.akjrcp.image.gifanime.GifAnimeMakeView;
import jp.sourceforge.akjrcp.image.trimming.TrimmingView;
import jp.sourceforge.akjrcp.image.url2image.URLToImageViewer;
import jp.sourceforge.akjrcp.subtitle.SrtUtilView;
import jp.sourceforge.akjrcp.videotools.imagetomovie.SingleImageToMovie;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class ToolsPerspective implements IPerspectiveFactory {
	public static final String ID = ToolsPerspective.class.getName();
	
	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		
		//layout.setFixed(true);//show closebox or not
		//layout.addShowViewShortcut(DVDChapterView.ID);
		//layout.addView(MuxSubtitleView.ID, layout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(SrtUtilView.ID,true, layout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(GifAnimeMakeView.ID,true, layout.LEFT, 1.0f, editorArea);
		layout.addView(TrimmingView.ID, IPageLayout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(BitrateViewer.ID,  true, IPageLayout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(DVDChapterView.ID,  true, IPageLayout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(DVDToXvidView.ID,  true, IPageLayout.LEFT, 1.0f, editorArea);
		//layout.addStandaloneView(VOBCopyMergeView.ID,  true, IPageLayout.LEFT, 1.0f, editorArea);
		
		
		Akj_betasPlugin.addPerspectiveShortcut(layout);
		
		
	}

}
